package cn.lingyangwl.agile.infra.file.channel.minio;

/**
 * @author shenguangyang
 */
//@Component
//public class MinioMultiPartUploadService implements MultiPartUploadService {
//
//    @Override
//    public MultiPartUploadInit init(String objectName, int totalPart) {
////        return MinioUtils.MultiPartUpload.init(minioStorageProperties.getBucketName(), objectName, totalPart);
//        return null;
//    }
//
//
//    @Override
//    public void uploadPart(String uploadUrl, String contentType, File file) {
//        HttpRequest.put(uploadUrl)
//                .contentType(contentType)
//                .form("key", file)
//                .execute();
//    }
//
//    @Override
//    public void merge(String objectName, String uploadId) {
////        MinioUtils.MultiPartUpload.merge(minioStorageProperties.getBucketName(), objectName, uploadId);
//    }
//}
